<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>async异步函数同步化</title>
  <script src="./js/jquery.js"></script>
  <script>
    const baseURL = 'http://47.94.46.113:8888';
    async function findAll() {
      let result = await $.get(baseURL + '/index/category/findAll')
      console.table(result.data);
    }
    // 方法调用
    findAll();
  </script>
</head>

<body>

</body>

</html>